
//自动生成
using Framework;
using UnityEngine;
using UnityEngine.UI;
public partial class MainUI
{
	private UnityEngine.RectTransform bg_RectTransform;
	private UnityEngine.RectTransform Image_RectTransform;
	private UnityEngine.UI.Image Image_Image;
	private UnityEngine.UI.Button btn_Button;
	private Framework.UGUIWidget w2_UGUIWidget;
	private UnityEngine.UI.Image load_Image;
	private UnityEngine.UI.Button close_Button;

    protected override void InjectFields(GameObjectFields value)
    {
		this.bg_RectTransform = (UnityEngine.RectTransform)value.FieldItems[0].Value;
		this.Image_RectTransform = (UnityEngine.RectTransform)value.FieldItems[1].Value;
		this.Image_Image = (UnityEngine.UI.Image)value.FieldItems[2].Value;
		this.btn_Button = (UnityEngine.UI.Button)value.FieldItems[3].Value;
		this.w2_UGUIWidget = (Framework.UGUIWidget)value.FieldItems[4].Value;
		this.load_Image = (UnityEngine.UI.Image)value.FieldItems[5].Value;
		this.close_Button = (UnityEngine.UI.Button)value.FieldItems[6].Value;
		this.btn_Button.onClick.AddListener(() => { this.OnButtonClick(this.btn_Button); });
		this.close_Button.onClick.AddListener(() => { this.OnButtonClick(this.close_Button); });

    }
}
